import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/views/Home.vue'
import Setup from '@/views/Setup.vue'
import Editor from '@/views/Editor.vue'
import History from '@/views/History.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path: '/setup',
      name: 'Setup',
      component: Setup
    },
    {
      path: '/editor',
      name: 'Editor',
      component: Editor
    },
    {
      path: '/history',
      name: 'History',
      component: History
    }
  ]
})
